package request

type SendSmsReq struct {
	Mobile string `form:"mobile" binding:"required"`
}

type LoginReq struct {
	Mobile string `form:"mobile" binding:"required"`
	Code   string `form:"code"  binding:"required"`
}

type AddRoomUserReq struct {
	RoomUserId int `form:"room_user_id" binding:"required"` // 群成员id
	RoomId     int `form:"room_id" binding:"required"`      // 群id
	ULevel     int `form:"u_level" binding:"required"`      // 群成员：1-群主，2-群管理员，3-群成员
}

type UpdateRoomUserReq struct {
	RoomUserId int `form:"room_user_id" binding:"required"` // 群成员id
	RoomId     int `form:"room_id" binding:"required"`      // 群id
}

type DelRoomUserReq struct {
	RoomUserId int `form:"room_user_id" binding:"required"` // 群成员id
	RoomId     int `form:"room_id" binding:"required"`      // 群id
	ULevel     int `form:"u_level" binding:"required"`      // 群成员：1-群主，2-群管理员，3-群成员
}

type DelRoomReq struct {
	RoomUserId int `form:"room_user_id" binding:"required"` // 群创建者
}
